package com.zhanghe.springboot.model;

public class Student {
	public String id;
	public String name;
	
	public Teacher teacher;
	public String getId() {
		return id;
	}
	public void setId( String id ) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName( String name ) {
		this.name = name;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher( Teacher teacher ) {
		this.teacher = teacher;
	}
	@Override
	public String toString() {
		return "TestModel [id=" + id + ", name=" + name + ",teacher:"+teacher+"]";
	}  
	
}
